package com.xjj.service.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xjj.entity.Health;
import com.xjj.entity.Leave;
import com.xjj.entity.PageBean;
import com.xjj.service.health.vo.HealthSubmit;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther: AYang
 * @Date: 2022/10/28 09:26
 * @Description:
 */
public interface HealthService extends IService<Health> {
    PageBean<Health> getByPage(Health health, Integer pageNum, Integer pageSize);

    void updateStatusById(Integer id, @Param("status") String status, @Param("checkTime") String checkTime);

    List<Health> getByStudent(Integer studentId, String status);

    Integer addHealth(Health health);

    void add(Health health);

    void addHealthImg(Integer id, List<String> imgList);
}
